package com.link.base.base.consumer.dao.mybatis.mapper;

import com.link.base.base.consumer.model.PortalAccntTagGroup;
import com.link.core.basic.dao.mapper.BasicMapper;
import java.util.List;
/**
 * Copyright  hande Company. All Rights Reserved.
 * @author  yipeng.zhu@hand-china.com
 * @date:   2018/11/2 16:49
 * @version 1.0
 */

public interface PortalAccntTagGroupMapper extends BasicMapper<PortalAccntTagGroup> {
    /**
     *标签生效
     * @author      yipeng.zhu@hand-china.com
     * @param       record
     * @return
     * @throws Exception
     * @date        2018/11/2 16:50
     * @version     1.0
     */

    void groupTagApproveUpdate(PortalAccntTagGroup record) throws Exception;
    /**
     *标签失效
     * @author      yipeng.zhu@hand-china.com
     * @param       record
     * @return
     *@throws Exception
     * @date        2018/11/2 16:50
     * @version     1.0
     */

    void groupTagRejectUpdate(PortalAccntTagGroup record) throws Exception;

    /**
     * 查询所有一级标签
     *
     * @param entity
     * @return
     */
    List<String> queryFstTags(PortalAccntTagGroup entity);
}
